home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 8823 / 8823.xpi / chrome / omnibar / content / options.xul < prev   
Extensible Markup Language  |  2009-10-05  |  4KB  |  92 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  3. <?xml-stylesheet href="chrome://omnibar/skin/options.css" type="text/css"?>
  4.  
  5. <!DOCTYPE prefwindow SYSTEM "chrome://omnibar/locale/omnibar.dtd">
  6.  
  7. <prefwindow id="omnibar-prefs"
  8.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  9.             onload="Options.init();"
  10.                         title="&omnibar.PrefsTitle;"
  11.                         buttons="accept,cancel"
  12.                         ondialogcancel="Options.commitChanges = false;"
  13.             onunload="Options.done();">
  14.  
  15.   <script type="application/x-javascript" src="options.js" />
  16.     <stringbundle id="strings" src="chrome://omnibar/locale/strings.properties" />
  17.  
  18.     <prefpane id="mainPane" label="" flex="1">
  19.         <preferences>
  20.             <preference id="extensions.omnibar.enabledefaultsearch"
  21.                                     name="extensions.omnibar.enabledefaultsearch"     type="bool" />
  22.             <preference id="extensions.omnibar.showdefaultsearch"
  23.                                     name="extensions.omnibar.showdefaultsearch"           type="bool" />
  24.             <preference id="browser.search.suggest.enabled"
  25.                                     name="browser.search.suggest.enabled"                     type="bool" />
  26.             <preference id="extensions.omnibar.numresults"
  27.                                     name="extensions.omnibar.numresults"                       type="int" />
  28.             <preference id="extensions.omnibar.numsuggestions"
  29.                                     name="extensions.omnibar.numsuggestions"                  type="int" />
  30.             <preference id="extensions.omnibar.popupstyle"
  31.                                     name="extensions.omnibar.popupstyle"                             type="string" />
  32.             <preference id="extensions.omnibar.hideengineicon"
  33.                                     name="extensions.omnibar.hideengineicon"                  type="bool" />
  34.             <preference id="extensions.omnibar.hideenginename"
  35.                                     name="extensions.omnibar.hideenginename"                  type="bool" />
  36.             <preference id="extensions.omnibar.hidesearchbar"
  37.                                     name="extensions.omnibar.hidesearchbar"                      type="bool" />
  38.             <preference id="extensions.omnibar.autohideinurlbar"
  39.                                     name="extensions.omnibar.autohideinurlbar"              type="bool" />
  40.             <preference id="extensions.omnibar.showinurlbar"
  41.                                     name="extensions.omnibar.showinurlbar"                      type="bool" />
  42.         </preferences>
  43.         <checkbox label="&omnibar.DefaultSearchDesc;"
  44.                             preference="extensions.omnibar.enabledefaultsearch" />
  45.         <groupbox flex="1">
  46.             <caption>
  47.                 <label id="groupSearchDisplay" value="&omnibar.DisplayOptions;"/>
  48.             </caption>
  49.             <vbox>
  50.                 <checkbox label="&omnibar.OptSuggestShow;"
  51.                                     preference="browser.search.suggest.enabled" />
  52.                 <hbox>
  53.                     <textbox type="number" preference="extensions.omnibar.numsuggestions"
  54.                                      maxlength="4" size="4" min="1" max="20"/>
  55.                     <description>&omnibar.OptNumSuggest;</description>
  56.                 </hbox>
  57.                 <hbox>
  58.                     <textbox type="number" preference="extensions.omnibar.numresults"
  59.                                      maxlength="4" size="4" min="1" max="50"/>
  60.                     <description>&omnibar.OptNumVisibleResult;</description>
  61.                 </hbox>
  62.                 <label value="&omnibar.OptBarStyle;" group="omnibarSearchDisplay" />
  63.                 <radiogroup orient="horizontal"
  64.                                         preference="extensions.omnibar.popupstyle">
  65.                     <radio label="&omnibar.STYLE.RICH;" value="RICH" 
  66.                                  tooltiptext="&omnibar.LONG.DESC.STYLE.RICH;"/>
  67.                     <radio label="&omnibar.STYLE.RICHSLIM;" value="RICHSLIM"
  68.                                  tooltiptext="&omnibar.LONG.DESC.STYLE.RICHSLIM;"/>
  69.                     <radio label="&omnibar.STYLE.SIMPLE;" value="SIMPLE"
  70.                                  tooltiptext="&omnibar.LONG.DESC.STYLE.SIMPLE;"/>
  71.                 </radiogroup>
  72.             </vbox>
  73.         </groupbox>
  74.         <groupbox>
  75.             <caption>
  76.                 <checkbox id="showInUrlbar" label="&omnibar.ShowInUrlbar;"
  77.                                     preference="extensions.omnibar.showinurlbar"
  78.                                     onsyncfrompreference="Options.updateDependents('showInUrlbar');" />
  79.             </caption>
  80.             <hbox>
  81.                 <checkbox label="&omnibar.HideName;" preference="extensions.omnibar.hideenginename" dependson="showInUrlbar"/>
  82.                 <checkbox label="&omnibar.HideIcon;" preference="extensions.omnibar.hideengineicon" dependson="showInUrlbar"/>
  83.                 <checkbox label="&omnibar.AutohideEngine;" preference="extensions.omnibar.autohideinurlbar" dependson="showInUrlbar"/>
  84.             </hbox>
  85.         </groupbox>
  86.         <checkbox label="&omnibar.HideSearchBar;"
  87.                             preference="extensions.omnibar.hidesearchbar" />
  88.         <label>* &omnibar.ffrestart;</label>
  89.         <label>-</label><!-- ? -->
  90.     </prefpane>
  91. </prefwindow>
  92.